﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Bitirme.DAL.Interface;
using Bitirme.DAL.Enum;

namespace Bitirme.DAL.Entities
{
    public class Employee:IEmployee
    {
        private int _ID;
        private string _Name;
        private string _SurName;
        private string _Email;
        private decimal _SalaryPerDay;
        private float _HourPerDay;
        private Dictionary<Capability,SkillLevel> _Skills;

        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        public string SurName
        {
            get { return _SurName; }
            set { _SurName = value; }
        }
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        public decimal SalaryPerDay
        {
            get { return _SalaryPerDay; }
            set { _SalaryPerDay = value; }
        }
        public float HourPerDay
        {
            get { return _HourPerDay; }
            set { _HourPerDay = value; }
        }
        public Dictionary<Capability, SkillLevel> Skills 
        {
            get { return _Skills; }
            set { _Skills = value; }        
        }
        public Employee() {

            this._ID = -1;
            this._Name = String.Empty;
            this._SurName = String.Empty;
            this._Email = String.Empty;
            this._SalaryPerDay = -1;
            this._HourPerDay = -1;
            this._Skills = new Dictionary<Capability, SkillLevel>();
        }
    }
}